Q3Mesh_GetVertexComponent
You can use theQ3Mesh_GetVertexComponent
function to get the component of a mesh to which a vertex belongs.
TQ3Status Q3Mesh_GetVertexComponent ( TQ3GeometryObject mesh, TQ3MeshVertex vertex, TQ3MeshComponent *component);
mesh
- A mesh.
vertex
- A mesh vertex.
component
- On exit, the mesh component that contains the specified mesh vertex.
DESCRIPTION
TheQ3Mesh_GetVertexComponent
function returns, in thecomponent
parameter, the mesh component that contains the mesh vertex specified by themesh
andvertex
parameters.SPECIAL CONSIDERATIONS
TheQ3Mesh_GetVertexComponent
function might not accurately report the mesh component that contains a mesh vertex if called while mesh updating is delayed (that is, after a call toQ3Mesh_DelayUpdates
but before the matching call toQ3Mesh_ResumeUpdates
).